package com.stormrage.entity.index.rep;

import java.io.Serializable;
import java.util.List;

import com.stormrage.entity.edu.EduLec;
import com.stormrage.entity.index.IdxImage;
import com.stormrage.entity.index.IdxTrial;
import com.stormrage.entity.student.StuNotice;

public class IndexRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 4834438042919887564L;

	// ------------------------------- Fields -------------------------------

	private List<StuNotice> notice;

	private List<IdxImage> image;

	private List<EduLec> lec;

	private List<IdxTrial> trial;

	// ------------------------------- Fields -------------------------------

	public IndexRep() {
	}

	// ------------------------------- Fields -------------------------------

	public List<StuNotice> getNotice() {
		return notice;
	}

	public void setNotice(List<StuNotice> notice) {
		this.notice = notice;
	}

	public List<IdxImage> getImage() {
		return image;
	}

	public void setImage(List<IdxImage> image) {
		this.image = image;
	}

	public List<EduLec> getLec() {
		return lec;
	}

	public void setLec(List<EduLec> lec) {
		this.lec = lec;
	}

	public List<IdxTrial> getTrial() {
		return trial;
	}

	public void setTrial(List<IdxTrial> trial) {
		this.trial = trial;
	}

	// ------------------------------- Fields -------------------------------

	public static IndexRep instance(List<StuNotice> notice, List<IdxImage> image, List<EduLec> lec,
			List<IdxTrial> trial) {
		IndexRep entity = new IndexRep();
		entity.setNotice(notice);
		entity.setImage(image);
		entity.setLec(lec);
		entity.setTrial(trial);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : notice - " + notice + " image - " + image + " lec - " + lec + " trial - " + trial;
	}

}
